<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }"></c:set>
<c:set var="webPath" value="${request.getContextPath() }"></c:set>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>主机群组列表</title>
    <link href="${path}/css/style.css" rel="stylesheet" type="text/css">
    <link href="css/hostGroup_menu.css" rel="stylesheet" type="text/css">
    <link href="${path}/common/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="${path}/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="${path}/common/plugins/bootstrap/js/bootstrap.js"></script>
    <script src="${path}/common/plugins/layer/layer.js"></script>
    <script src="${path}/js/common.js" type="text/javascript"></script>
    <script src="js/hostGroup_menu.js"></script>
    <style type="text/css">
    	.content_table{margin-top:5px;}
    	.content_table table{float:left;width:48%;}
    	.content_table table:first-child{margin-right:1%;}
    </style>
</head>
<body>
<div class="content_detail">
    <div class="control-title">
        <i class="user_manage content_current"></i><span>主机与模板信息：</span>
    </div>
	<div class="content_table">
        <table class="table table-striped table-bordered table-hover table-ellipsis details">
        <thead>
        <tr>
        	<th>主机列表</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="host" items="${hostList }">
        	<tr>
        		<td>${host.name }</td>
        	</tr>
        </c:forEach>
        </tbody>
        </table>
        <table class="table table-striped table-bordered table-hover table-ellipsis details">
        <thead>
        <tr>
        	<th>模板列表</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="template" items="${templateList }">
        	<tr>
        		<td>${template.name }</td>
        	</tr>
        </c:forEach>
        </tbody>
        </table>
     </div>
</div>
</body>
<script src="${path}/js/user_js.js"></script>
<script src="${path}/js/action_privilege.js"></script>   
</html>
